<p class="p06">
{{ page_obj.number }} ページ目 / 全 {{ page_obj.paginator.num_pages }} ページ
</p>

{% ifnotequal page_obj.paginator.num_pages 1 %}
    <p class="p06">
	{% if page_obj.has_previous %}
		<a href="./{{ page_obj.previous_page_number }}">&laquo;</a>
	{% else %}
		&laquo;
	{% endif %}
	
	{% for page_num in page_obj.around_page_range %}
		{% ifnotequal page_num page_obj.number %}
			<a href="./{{ page_num }}">{{ page_num }}</a>
		{% else %}
			<strong>{{ page_num }}</strong>
		{% endifnotequal %}
	{% endfor %}
	
	{% if page_obj.has_next %}
		<a href="./{{ page_obj.next_page_number }}">&raquo;</a>
	{% else %}
		&raquo;
	{% endif %}
    </p>
{% endifnotequal %}
